//
//  CreditCardRechargeRequest.m
//  EasyToo
//
//  Created by zhengzhe on 13-8-25.
//
//

#import "CreditCardRechargeRequest.h"

@implementation CreditCardRechargeRequest

- (id)creditCardRecharge:(id<ServerCommunicationDelegate>)delegate
            creditcardno:(NSString*)creditcardno
                   money:(NSString*)money
                  mobile:(NSString*)mobile
          creditcardbank:(NSString*)creditcardbank
{
    self = [super init];
    if (self) {
        self.requestName = @"CreditCardRechargeResponse";
        self.delegate = delegate;
        
        [self.bodyJsonDict setObject:creditcardno forKey:@"creditcardno"];
        [self.bodyJsonDict setObject:money forKey:@"money"];
        [self.bodyJsonDict setObject:mobile forKey:@"mobile"];
        [self.bodyJsonDict setObject:creditcardbank forKey:@"creditcardbank"];
        
        [self.headerJsonDict setObject:@"008001" forKey:@"TranCode"];
        [self.headerJsonDict setObject:@"20" forKey:@"TxRecordNum"];
        [self buildJsonRequest];
    }
    return self;
}


@end
